package com.hgj.entity;

import java.util.Date;
public class News {
	private String news_id;	//新闻id 
	private String news_title;	//新闻标题 
	private String news_content;	//新闻内容 
	private Date news_time;	//添加时间 
	private Integer read_nums;	//阅读数量 
	private String news_type;	//新闻类型 

	public News (){

	}

	public void setNews_id(String news_id){
		this.news_id=news_id;
	}
	public String getNews_id(){
		return news_id;
	}

	public void setNews_title(String news_title){
		this.news_title=news_title;
	}
	public String getNews_title(){
		return news_title;
	}

	public void setNews_content(String news_content){
		this.news_content=news_content;
	}
	public String getNews_content(){
		return news_content;
	}

	public void setNews_time(Date news_time){
		this.news_time=news_time;
	}
	public Date getNews_time(){
		return news_time;
	}

	public void setRead_nums(Integer read_nums){
		this.read_nums=read_nums;
	}
	public Integer getRead_nums(){
		return read_nums;
	}

	public void setNews_type(String news_type){
		this.news_type=news_type;
	}
	public String getNews_type(){
		return news_type;
	}

	@Override
	public String toString(){
		return " News [news_id=" + news_id+ " , news_title=" + news_title+ " , news_content=" + news_content+ " , news_time=" + news_time+ " , read_nums=" + read_nums+ " , news_type=" + news_type+"]";
	}

}

